package com.chuangke.file.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chuangke.file.model.SysFilePermission;

/**
 * 文件权限管理Mapper接口
 * 
 * @author chuangke
 * @date "2020-09-03"
 */
@Mapper
public interface SysFilePermissionMapper extends BaseMapper<SysFilePermission> {
	
	List<SysFilePermission> selectAuthDbank(String isAuthFile,String userId,List<String> deptList,List<String> roleList) ;
	
	List<SysFilePermission> selectAuthFileDbank(String userId,List<String> deptList,List<String> roleList) ;
	
	List<SysFilePermission> selectAuthFiles(String dbankId,String userId,List<String> deptList,List<String> roleList) ;

}
